<!DOCTYPE html>
<html>

<head>
<script src="/static/js/jquery-3.4.1.min.js"></script>
<script src="/static/js/ewa.js"></script>
</head>

<body>
	<form>
	    <div>
	        <input type="text" id="IdUsername" placeholder="Username" />
	    </div>
	    <div>
	        <input type="password" id="IdPassword" placeholder="Password" />
	    </div>
	</form>
		 <!-- 按钮style只能是button, 兼容IE,Chrome, Firefox ; 放在这里避免重复刷新页面而不能POST表单-->
	    <button style="button" onclick="ewa.ApiLogin('IdUsername', 'IdPassword', '/signin', 'sample1.html')">Sign In</button>
</body>

</html>
